{layout name="layout" /}
<style>
.options{
    margin:10px;
    display:inline-block;
    width:150px;
}
</style>
<div class="row">
    <div class="col-lg-12">
            <div class="options">
                <a href="{:url('export')}"><button id="export">导出审核通过信息</button></a>
            </div>
            <div class="options">
                <a href="{:url('export_personpic')}"><button id="export">导出审核通过照片</button></a>
            </div>
            <table class="table table-striped table-hover">
                    <tr>
                        <td>id</td>
                        <td>姓名</td>
                        <td>电话</td>
                        <td>职称</td>
                        <td>进修科室</td>
                        <td>申请时间</td>
                        <td>状态</td>
                        <td colspan="2">操作</td>
                    </tr>    
                    {volist name="applylst" id="vo" }
                    <tr>
                        <td>{$vo.id}</td>
                        <td>{$vo.name}</td>
                        <td>{$vo.telphone}</td>
                        <td>{$vo.title}</td>
                        <td>{$vo.department}</td>
                        <td>{$vo.applytime}</td>
                        <td>{$vo.status}</td>
                        {eq name="$vo.status" value="未审核"}
                        <td><a href="{:url('applycheck',['id'=>$vo.id])}">审核</a></td>
                        {/eq}
                        <td><a href="{:url('detaile',['id' => $vo['id']])}">详情</a></td>
                    </tr>
                    {/volist}
                </table>
                {$applylst|raw} 
    </div>
    <!-- /.col-lg-12 -->
</div>
